package com.jiyun.information;

import com.jiyun.model.information.ZlService;
import com.jiyun.result.Result;
import com.jiyun.result.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "service-information")
public interface ZlServiceClient {
    @ApiOperation("根据ID查询")
    @RequestMapping("service/get/{id}")
    ZlService getById(@PathVariable Integer id);
    @ApiOperation("查询所有")
    @RequestMapping("service/findAllServiceList")
    Result findService();
}
